﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InversPong.Model;
using Microsoft.Xna.Framework.Graphics;
using InversPong.Services;
using Microsoft.Xna.Framework;

namespace InversPong.Views
{
    class MovableView
    {
        public void Draw(IList<MovableObject> movList, ISpriteDrawer spriteDrawer, SpriteBatch spriteBatch)
        {
            foreach(MovableObject movObj in movList){
                spriteDrawer.DrawObject(spriteBatch, movObj, Color.White);
            }
        }
    }
}
